/*
 * Serum
 *
 * @license      GNU Lesser General Public Licence see LICENCE-LGPL file or http://www.gnu.org/licenses/lgpl.html
 */

Serum.Grid.Module.Toolbar.DisableButton = function(viewer) {
    return {
        tooltip:    {title: __('base~list_action_disable_title'),text: __('base~list_action_disable_description')},
        iconCls:    'img-disable',
        handler:    viewer.onDisableElement,
        scope:      viewer
    };
};